package bancosys.tec.utils.db.executor;

import bancosys.tec.exception.AbstractException;
import bancosys.tec.exception.LocalizedMessageHolder;

/**
 * Exceção lançada caso algo de inesperado ocorra ao executar script de banco de dados.
 * 
 * @author Marcio Ribeiro (mmr)
 * @created Apr 25, 2007
 */
public class CouldNotExecuteException extends AbstractException {
    /**
     * Constructor
     * 
     * @param messageHolder messageHolder
     * @param cause cause
     */
    public CouldNotExecuteException(LocalizedMessageHolder messageHolder, Throwable cause) {
        super(messageHolder, cause);
    }

    /**
     * Constructor
     * 
     * @param messageHolder messageHolder
     */
    public CouldNotExecuteException(LocalizedMessageHolder messageHolder) {
        super(messageHolder);
    }
}